#!/user/bin/env python3
# -*- coding: utf-8 -*-
import hashlib


class Hash(object):

    def hash_md5(self, msg):
        m = hashlib.md5()
        m.update(msg.encode('utf-8'))
        return m.hexdigest()


